#ifndef ARTICLE_H
#define ARTICLE_H

#include <string>

using namespace std;

namespace client_server{
class Article{
	public:
		Article(const string, const string, const string, const unsigned int);   
		~Article();
		
		bool operator<(Article art) {
			return number < art.articlenumber();   
		}
    
		const string& articlecontent() const{
			return content;
		}   
    
		const string& articlename() const{
			return name;
		} 
    
		const string& articleauthor() const{
			return author;
		} 
    
		const unsigned int& articlenumber() const{
			return number;
		}
	private:
		Article(const Article&);
		Article operator=(const Article&);
		string content;
		string name;
		string author;
		const unsigned int number;
	};
}

#endif
